//******************************************************************************
// @File: cyzRunAction.hh
// @Author: Cyz
// @Date: 2020年 5月 4日 星期一 16时29分33秒 CST
// @Description: 
//		Definition of the cyzRunAction class
//******************************************************************************

#ifndef cyzRunAction_h
#define cyzRunAction_h 1

#include "G4UserRunAction.hh"
#include "G4Accumulable.hh"
#include "globals.hh"

class G4Run;

/// Run action class
///
/// In EndOfRunAction(), it calculates the dose in the selected volume 
/// from the energy deposit accumulated via stepping and event actions.
/// The computed dose is then printed on the screen.

class cyzRunAction : public G4UserRunAction
{
  public:
    cyzRunAction();
    virtual ~cyzRunAction();

    // virtual G4Run* GenerateRun();
    virtual void BeginOfRunAction(const G4Run*);
    virtual void   EndOfRunAction(const G4Run*);

    void AddEdep (G4double edep); 

  private:
};

#endif

